package com.spsoft.system.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel(value = "菜单数据")
public class MenuVo {
    @ApiModelProperty(name = "id ",notes = "菜单id")
    private String id;
    @ApiModelProperty(name = "名字 ",notes = "名字")
    private String name;
    @ApiModelProperty(name = "权限编码 ",notes = "权限编码")
    private String code;
    @ApiModelProperty(name = "前端路径 ",notes = "前端路径")
    private String path;
    @ApiModelProperty(name = "类型 ",notes = "类型（1.菜单权限，2.按钮权限）")
    private String type;
    @ApiModelProperty(name = "孩子 ",notes = "下一级")
    private List<MenuVo> children;

}
